package com.snut.tomorrowNews.model;

import org.springframework.stereotype.Component;

@Component
public class Collect {
    private Integer newsId;
    private Integer userId;
    private News news;

    public Integer getNewsId() {
        return newsId;
    }

    public void setNewsId(Integer newsId) {
        this.newsId = newsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public News getNews() {
        return news;
    }

    public void setNews(News news) {
        this.news = news;
    }
}
